package com.itfreer.form.service.metadata;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.form.entity.metadata.MetadataDirectoryEntity;

/**
 * 定义书签功能接口
 */
@Component
@Path("/metadatadirectory/")
public class RestMetadataDirectoryService extends BaseRestService<MetadataDirectoryEntity> {
	
	@Autowired
	private MetadataDirectoryService metadataNamesService;

	@Override
	protected BaseService<MetadataDirectoryEntity> getService() {
		return metadataNamesService;
	}
	
	@Override
	protected String getServiceName() {
		return "metadatadirectory";
	}
}
